package com.meisupic.copyright.service;

import com.meisupic.copyright.domain.vo.MessageVo;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @Author lanjian
 * @Date 2018/4/7 下午4:53
 */
public interface IMessageService {

  void addMessage(String title,String content,Long userId,Long worksId);

  void updateMessage(Long id);

  Page<MessageVo> getPageMessageRecord(Long userId, Pageable pageable);

  List<MessageVo> findLastedMessage(Long userId);
}
